import turtle
def triangle(size):
    for i in range(0,3):
        turtle.forward(size)
        turtle.left(120)

triangle(100)
turtle.mainloop()